//
//  FBtSignal.h
//  JwPack
//
//  Created by 陈警卫 on 2025/7/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/// 指令集枚举
/// byte[0] 功能码 byte[1] 类型码
/// 握手协议 收2A=>2C=>2B 发AA=>AC=>AB
typedef NS_ENUM(UInt16, FBtSig) {
    FBtSig_plain = 0x0000,
    FBtSig_handshakeAA = 0xAA00,   // 握手2A
    FBtSig_handshakeAC = 0xAC00,   // 握手2C
    FBtSig_handshakeAB = 0xAB00,   // 握手2B
    FBtSig_getWifi = 0x3A03,       // 获取当前wifi
    FBtSig_getWifiList = 0x3A06,   // 获取wifi列表
    FBtSig_getMeshId = 0x3A09,     // 获取当前meshid
    FBtSig_setNet = 0x3B02,        // 配网
    FBtSig_setNetMS = 0x3B03,      // 微逆配网
    FBtSig_heart = 0x3900,         // 心跳
    FBtSig_shareNet = 0x3B12,      // 分享网络
    FBtSig_getMeterInfo = 0x3A19,  // 获取微储电表类型和状态
    FBtSig_setMeterInfo = 0x3B18,  // 设置微储电表类型
    FBtSig_getIPSetting = 0x3A07,  // 获取IPSetting
    FBtSig_setIPSetting = 0x3B01,  // 设置IPSetting
   
};

@interface FBtSignal : NSObject

@end

NS_ASSUME_NONNULL_END
